package com.example.lib;

public class RedHeadDuck extends Duck{
    @Override
    public void display() {
        System.out.println("红头鸭");
    }
    RedHeadDuck(){
        flyBehavior = new FlyWithWings();
        quarkBehavior = new Quark();
    }
}
